const layer = window.parent.window.layer;
            
export const checkParams = function (name) {
    layer.msg(`参数：${name}不能为空`, {zIndex: layer.zIndex})
    throw new Error(`参数：${name}不能为空`)
}